﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ChooseInvalidList.aspx.cs"
    Inherits="LDSP.UI.EnterpriseAdmin.Operation.ChooseInvalidList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-store, must-revalidate">
    <meta http-equiv="expires" content="Wed, 26 Feb 1997 08:21:57 GMT">
    <meta http-equiv="expires" content="0">
    <link type="text/css" href="../../../Styles/bg.css" rel="Stylesheet" />
    <script type="text/javascript" src="../../../Scripts/jquery-1.4.1.js"></script>
    <script type="text/javascript" src="../../../Scripts/jqex.js"></script>
    <script type="text/javascript" src="../../../Scripts/Common.js"></script>
    <script type="text/javascript" src="../../../Scripts/calendar.js"></script>
    <base target="_self" />
    <title>
        <%=TitleName %>管理</title>
    <script type="text/javascript">
        $(function () {
            var ctrl = $('#expand');
            ctrl.attr("isExpand", true);
            ctrl.bind("click", function () { ShowFilterArea('filterArea', ctrl, 1); });
            ShowFilterArea('filterArea', ctrl, 1);
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table style="width: 100%">
            <tr>
                <td valign="top" width="20%">
                    <div class="mngTitle">
                        <span class="mngEmphasis">栏目</span>
                    </div>
                    <asp:TreeView ID="tre_obj" runat="server" BorderColor="#CCCCCC" BorderStyle="Dashed"
                        BorderWidth="1px" ShowLines="True" Width="99%" OnSelectedNodeChanged="tre_obj_SelectedNodeChanged">
                        <SelectedNodeStyle BackColor="#999999" Font-Bold="True" />
                    </asp:TreeView>
                </td>
                <td style="width: 20px;">
                </td>
                <td valign="top" style="padding-left: 10px">
                    <div class="mngTitle">
                        <span class="mngEmphasis">
                            <%=TitleName %>列表</span>
                        <asp:Label ID="TotalRecords" runat="server" Text="Label"></asp:Label>
                    </div>
                    <fieldset>
                        <legend>查询</legend>
                        <table id="filterArea" class="mngDetail">
                            <tr>
                                <td class="itemLabel">
                                    <%=TitleName %>名称：
                                </td>
                                <td class="itemValue">
                                    <asp:TextBox ID="txt_name" runat="server" CssClass="itemCtrl"></asp:TextBox><input
                                        type="button" id="expand" value="展开" class="mngBtn" />
                                </td>
                            </tr>
                            <tr>
                                <td class="itemLabel">
                                    是否有效：
                                </td>
                                <td class="itemValue">
                                    <asp:DropDownList ID="ddl_isValid" runat="server" CssClass="itemCtrl">
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td class="itemLabel">
                                    发布日期：
                                </td>
                                <td class="itemValue">
                                    <asp:TextBox ID="txt_releaseStartDT" runat="server" CssClass="itemCtrlHalf" onclick="HS_setDate(this)"></asp:TextBox>
                                    ～
                                    <asp:TextBox ID="txt_releaseEndDT" runat="server" CssClass="itemCtrlHalf" onclick="HS_setDate(this)"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="itemLabel">
                                    生效日期：
                                </td>
                                <td class="itemValue">
                                    <asp:TextBox ID="txt_implementStartDT" runat="server" CssClass="itemCtrlHalf" onclick="HS_setDate(this)"></asp:TextBox>
                                    ～
                                    <asp:TextBox ID="txt_implementEndDT" runat="server" CssClass="itemCtrlHalf" onclick="HS_setDate(this)"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="itemLabel">
                                </td>
                                <td class="itemValue">
                                    <asp:Button ID="btn_search" runat="server" Text="搜索" OnClick="btn_search_Click" CssClass="mngBtn" />&nbsp;
                                    <input type="button" value="重置" onclick="resetFilterCondition('filterArea')" class="mngBtn" />
                                </td>
                            </tr>
                        </table>
                    </fieldset>
                    <div class="mngList">
                        <table class="mngDetail">
                            <tr>
                                <td class="itemLabel">
                                    已选失效列表：
                                </td>
                                <td class="itemValue">
                                    <asp:TextBox ID="txt_invalidList" runat="server" CssClass="itemCtrl" ReadOnly="true"></asp:TextBox>
                                </td>
                            </tr>
                        </table>
                        <div class="mngList">
                            <asp:Button ID="btn_ok" runat="server" Text="确定" OnClick="btn_ok_Click" CssClass="mngBtn" /><asp:Button
                                ID="btn_cancel" runat="server" Text="取消" OnClick="btn_cancel_Click" CssClass="mngBtn" /></div>
                        <asp:GridView ID="grd_list" runat="server" AutoGenerateColumns="False" EmptyDataText="当前没有查到任何数据！"
                            DataKeyNames="id" OnRowCommand="grd_list_RowCommand" OnRowDataBound="grd_list_RowDataBound"
                            BackColor="#666699" BorderColor="#999999" AllowPaging="true" AllowSorting="true"
                            CellPadding="3" GridLines="Vertical" Width="100%" OnPageIndexChanging="grd_list_PageIndexChanging"
                            OnSorting="grd_list_Sorting">
                            <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
                            <RowStyle BackColor="#EEEEEE" ForeColor="Black" BorderStyle="Solid" BorderWidth="1px" />
                            <EmptyDataRowStyle BorderStyle="None" BorderWidth="0px" Font-Bold="True" Font-Size="16pt"
                                ForeColor="white" />
                            <Columns>
                                <asp:TemplateField>
                                    <ItemTemplate>
                                        <asp:CheckBox ID="chb" runat="server" AutoPostBack="True" OnCheckedChanged="chb_CheckedChanged" />
                                    </ItemTemplate>
                                    <ItemStyle HorizontalAlign="Center" Width="40px" />
                                </asp:TemplateField>
                                <asp:BoundField HeaderText="序号" ItemStyle-Width="30px" ItemStyle-HorizontalAlign="Center">
                                    <ItemStyle HorizontalAlign="Center" Width="30px"></ItemStyle>
                                </asp:BoundField>
                                <asp:BoundField DataField="name" HeaderText="$$" SortExpression="name" ItemStyle-Width="100px">
                                    <ItemStyle Width="100px"></ItemStyle>
                                </asp:BoundField>
                                <asp:BoundField HeaderText="类别" SortExpression="categoryID" ItemStyle-Width="100px">
                                    <ItemStyle Width="100px"></ItemStyle>
                                </asp:BoundField>
                                <asp:BoundField DataField="Organization" HeaderText="发布机构" SortExpression="Organization"
                                    ItemStyle-Width="100px">
                                    <ItemStyle Width="100px"></ItemStyle>
                                </asp:BoundField>
                                <asp:BoundField DataField="ReferenceNumber" HeaderText="$$" SortExpression="ReferenceNumber">
                                </asp:BoundField>
                                <asp:BoundField DataField="ReleaseDT" HeaderText="发布日期" SortExpression="ReleaseDT"
                                    ItemStyle-Width="60px">
                                    <ItemStyle Width="60px"></ItemStyle>
                                </asp:BoundField>
                                <asp:BoundField DataField="ImplementDT" HeaderText="生效日期" SortExpression="ImplementDT"
                                    ItemStyle-Width="60px">
                                    <ItemStyle Width="60px"></ItemStyle>
                                </asp:BoundField>
                                <asp:BoundField DataField="UploadDT" HeaderText="上传日期" SortExpression="UploadDT"
                                    ItemStyle-Width="60px">
                                    <ItemStyle Width="60px"></ItemStyle>
                                </asp:BoundField>
                                <asp:BoundField DataField="IsValid" HeaderText="有效" SortExpression="IsValid" ItemStyle-Width="30px">
                                    <ItemStyle HorizontalAlign="Center" />
                                </asp:BoundField>
                            </Columns>
                            <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                            <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
                            <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
                            <AlternatingRowStyle BackColor="#DCDCDC" />
                        </asp:GridView>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
